﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Aspect.DynamicData.Fields;

namespace Skynet.BusinessEntities
{
    [MetadataType(typeof(ExamByCustomerDynamicData))]
    public partial class ExamByCustomer
    {
        public ExamByCustomer()
        {
         
        }
    }
    [ScaffoldTable(true)]
    public class ExamByCustomerDynamicData
    {
        [AutoGenerateField(true)]
        [Key]
        [ScaffoldColumn(true)]
        public Guid Id { get; set; }

        [Required]
        [ScaffoldColumn(true)]
        [EnumDataType(typeof(ExamByCustomerStatus))]        
        public string Status { get; set; }


        [ScaffoldColumn(true)]
        [UIHint("Time")]        
        public DateTime ValidFrom { get; set; }


        [ScaffoldColumn(true)]
        [UIHint("Time")]
        public DateTime ValidTo { get; set; }
    }
}
